package pe.gob.mpfn.service;

import java.util.List;
import org.springframework.roo.addon.layers.service.RooService;
import pe.gob.mpfn.model.Expediente;

@RooService(domainTypes = { pe.gob.mpfn.model.Expediente.class })
public interface ExpedienteService {

	public abstract long countAllExpedientes();


	public abstract void deleteExpediente(Expediente expediente);


	public abstract Expediente findExpediente(String id);


	public abstract List<Expediente> findAllExpedientes();


	public abstract List<Expediente> findExpedienteEntries(int firstResult, int maxResults);


	public abstract void saveExpediente(Expediente expediente);


	public abstract Expediente updateExpediente(Expediente expediente);

}
